extends Node2D
@onready var health_component: HealthComponent = $HealthComponent
@onready var health_bleed_component: HealthBleedComponent = $HealthComponent/HealthBleedComponent
@onready var health_regen_component: HealthRegenComponent = $HealthComponent/HealthRegenComponent

func _ready() -> void:
	pass

func reverse_heal() -> void:
	health_component.enable_reverse_heal(true,5)

func health_bleed_test():
	health_bleed_component.enable_health_bleed(5,1,2)

func health_regen_test():
	health_regen_component.enable_health_regen(4,1,2)

func _on_sub_button_down() -> void:
	health_component.damage(1)

func _on_add_button_down() -> void:
	health_component.heal(1)
